<?php
/*
* Author: mma
* Date: 2013-12-06 
*
* Below hash tables are mapping from DB field to field
*/

$DB2RECORD_PDS = array(
    'AccountID' => '5',
    'InstitutionID' => '7,string,FC-utilities::getInstID',
    'TransitID' => '8',
    'CheckID' => '9',
    'ApprovalAmount' => '11,string,FC-utilities::getMoney',
    'TODAY' => '13,string,FC-utilities::getJDFrom',
    'FirstName..LastName' => '14,string,FC-utilities::getLimitedName'
);

// Institution id has leading zero
// 8,L1-0 is adjustment for column 'InstitutionID'. It meas that has 1 leading
// zero
// FC represents function call. After dash is static function to call.
// For key string has operator like +-*/ etc, it means that we have operation
// on these fields
$DB2RECORD_PAD = array(
    'AccountID' => '5',
    'InstitutionID' => '7,string,FC-utilities::getInstID',
    'TransitID' => '8',
    'CheckID' => '9',
    'MONEYAMOUNT' => '11,string,FC-utilities::getMoney',
    'CollectDate' => '13,string,FC-utilities::getJDFrom',
    'FirstName..LastName' => '14,string,FC-utilities::getLimitedName'
);
?>
